package com.mohe.shanpao.domain.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色功能表
 * @author dkw
 *
 */
@Table(name="sys_roles_functions")
public class SysRoleFunction
{
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "role_id")
    private Long roleId;//角色id
    
    @Column(name = "function_id")
    private Long functionId;//功能操作id

    @Column(name = "menu_id")
    private Long menuId;//菜单id
    
    @Column(name = "create_time")
    private Date createTime;//创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public Long getFunctionId() {
		return functionId;
	}

	public void setFunctionId(Long functionId) {
		this.functionId = functionId;
	}

}
